Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: During R6 to R8 upgradation
Feedback Type: Problem
Product Area: Designer Client
Technical Area: Functionality
Platform: Windows XP client
Release: 8.0
Reproducible: -Reproducibility-

Hi All,

I have a problem while upgrading notes from R6 to R8.

I had function by Name replaceStr.Its working fine in R6.But Showing error in R8.
code:
'this function will replace the find string in s1 with the replace string
Function replaceStr(s1 As String, find As String, replace As String) As String

Dim tmpStr As String
Dim pos As Integer

tmpStr = s1

While Instr(tmpStr, find) <> 0
pos = Instr(tmpStr, find) 'get the position of the find string

'create the new string
tmpStr = Left( tmpStr, pos - 1) + replace + Right( tmpStr, Len(s1) - pos)

Wend

replaceStr = tmpStr
End Function


Feedback number WEBB7J4878 created by ~Tanita Asanimaroden on 09/02/2008


During R6 to R8 upgradation (~Tanita Asanima... 2.Sep.08)
. . Replace is a LotusScript Keyword (~Laura Dwonuche... 2.Sep.08)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS